<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<link rel="stylesheet" href="css/bootstrap.min.css" />
	<script type="text/javascript" src="js/jquery-1.12.4.js" ></script>
	<script type="text/javascript" src="js/bootstrap.min.js" ></script>
	<script type="text/javascript" src="js/plugins/uploadify/jquery.uploadify.min.js"></script>
	<script type="text/javascript" src="js/My97DatePicker/WdatePicker.js"></script>
	
	<style type="text/css">
			.uploadify{
				height: 20px;
				font-size:13px;
				line-height:20px;
				text-align:center;
				position: relative;
				margin-left:auto;
				margin-right:auto;
				cursor:pointer;
				background-color: #337ab7;
			    border-color: #2e6da4;
			    color: #fff;
			}
		</style>
		<script type="text/javascript">
			$(function(){
				
				$("#btn_uploadUserFiles").uploadify({
					buttonText:"用户风控资料文件",
					fileObjName:"file",
					fileTypeDesc:"风控资料文件",
					fileTypeExts:"*.gif; *.jpg; *.png",
					swf:"/js/plugins/uploadify/uploadify.swf",
					uploader:"/userFileUpload",
					overrideEvents:["onQueueComplete"],
					onQueueComplete:function(){
						window.location.reload();
					}
				});
			})
		</script>
<title>Insert title here</title>
</head>
<body>
	<%-- <h1>${requestScope.errorInfo }</h1>
	<form action="./doUploads" method="post" enctype="multipart/form-data">
	   请上传你的文件1:<input type="file" name="photo"/><br/>
	   请上传你的文件2:<input type="file" name="photo"/><br/>
	   <input type="submit" value="提交"/>
	</form> --%>
	
	<div class="container">
			<div class="row">
				<!-- 功能页面 -->
				<div class="col-sm-9">
					<div class="panel panel-default">
						<div class="panel-heading">
							用户认证文件信息
						</div>
					</div>
					<div class="row">
					<!--   <#list userFiles as file> -->
					<c:forEach items="${userFiles }" var="file">
					  <div class="col-sm-6 col-md-4">
                          <input type="hidden" value="${file.id}" />
					    <div class="thumbnail">
					      <img src="${file.image}" />
					      <div class="caption">
					        <h4>${file.fileType.title}</h4>
					        <p>得分：${file.score} &nbsp;&nbsp;状态：${file.stateDisplay}</p>
					      </div>
					    </div>
					  </div>
					  </c:forEach>
					<!--   </#list> -->
					</div>
					<div class="row">
						<a href="javascript:;" id="btn_uploadUserFiles"></a>
					</div>
				</div>
			</div>
		</div>	

</body>
</html>